<template>
  <div id="app">
    <Header v-show="$store.state.common.isShow"></Header>
    <router-view></router-view>
    <Footer v-show="$store.state.common.isShow"></Footer>
  </div>
</template>
<script>
import Header from "@/components/Nav/Header"
import Footer from "@/components/Nav/Footer"

export default {
    components:{
      Header,
      Footer
    },
    created(){
      // console.log(this.$store.state.common.isShow);
      console.log(this.$route.path);
    }
}
</script>
<style lang="scss">
    * {
      margin:0;
      padding:0;
    }
</style>
